/* @(#)GSManufactureCategoryBean.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen     2006-2-13    新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * 提示代号与提示信息的对应关系
 *
 */
public class GSMessageBean {
	/**
	 * 提示代码
	 */
	private String gs_message_id; 
	/**
	 * 提示信息
	 */
	private String gs_message_content;
	/**
	 * 附加提示信息
	 */
	private String gs_message_append;
	public String getGs_message_append() {
		return gs_message_append;
	}
	public void setGs_message_append(String gs_message_append) {
		this.gs_message_append = gs_message_append;
	}
	public String getGs_message_content() {
		return gs_message_content;
	}
	public void setGs_message_content(String gs_message_content) {
		this.gs_message_content = gs_message_content;
	}
	public String getGs_message_id() {
		return gs_message_id;
	}
	public void setGs_message_id(String gs_message_id) {
		this.gs_message_id = gs_message_id;
	}
	
	public Object process(ResultSet aResultSet) throws SQLException {
		GSMessageBean tGSMessageBean = new GSMessageBean();
		tGSMessageBean.gs_message_append=aResultSet.getString("GS_MESSAGE_APPEND").trim();
		tGSMessageBean.gs_message_content=aResultSet.getString("GS_MESSAGE_CONTENT").trim();
		tGSMessageBean.gs_message_id=aResultSet.getString("GS_MESSAGE_ID")==null?"":aResultSet.getString("GS_MESSAGE_ID").trim();
		
        return tGSMessageBean;
    }
	
	
}
